package com.zhxy.manager.service.intf;

import com.zhxy.manager.entity.Library;
import com.zhxy.manager.vo.PageBean;
import com.zhxy.manager.vo.R;

public interface LibraryService {
    //新增
    R save(Library library);
    //拆寻
    PageBean queryPage(int page, int limit);
    //删除
    R del(int id);
    //修改
    R update(Library library);
    //查询条件
    PageBean queryPageWhere(String name,int page,int limit);
    //批量删除
    R delBatch(int[] ids);
}

